export interface DataType {
  key?: React.Key; // 表格行唯一标识
  code: string; // 客户编码
  name: string; // 客户名称
  category: string; // 客户分类
  source: string; // 客户来源
  label: string; // 客户标签
  settlement: string; // 结算期限
  credit: number; // 信用额度
  responsibility: string; // 销售负责人
  department: string; // 销售部门
  address: string; // 客户地址
  sub_name: string; // 提交人
  tijiao: string; // 提交时间
  gengxin: string; // 更新时间
}
export interface FormDataType {
  // 隐藏列的自定义 ID，用于标识每一行数据
  custom_id: string | number; 
  follow_content: string; 
  name: string; 
  code: string; 
  follow_time: string; 
  follow_type: string; 
  follow_text: string; 
  follow_name: string; 
  folow_department: string; 
}
export interface xsddDataType {
  key?: React.Key;
  customerName: string;
  customerCode: string;
  priceLevel: string;
  contactName: string;
  contactPhone: string;
  orderName: string;
  signDate: string | Date;
  deliveryDate: string | Date;
  salesManager: string;
  salesDepartment: string;
  orderCode: string;
  warehouse: string;
  productName: string;
  productCode: string;
  brand: string;
  specification: string;
  unit: string;
  availableStock: number;
  salesQuantity: number;
  unitPriceWithTax: number;
  vatRate: number;
  unitPriceWithoutTax: number;
  originalTotalWithTax: number;
  actualUnitPriceWithTax: number;
  actualTotalWithTax: number;
  actualUnitPriceWithoutTax: number;
  actualTotalWithoutTax: number;
  costUnitPrice: number;
  costTotal: number;
  originalSalesTotal: number;
  discountAmount: number;
  orderDiscountRate: number;
  orderAmountWithTax: number;
  orderAmountInWords: string;
  orderAmountWithoutTax: number;
  productCostTotal: number;
  grossMarginRate: number;
  contractAttachment: string;
  deliveryAddress: string;
  deliveryBatch: string;
  scheduledDeliveryDate: string | Date;
  deliveryRemark: string;
  settlementPeriod: string;
  receivableItem: string;
  paymentRatio: number;
  paymentAmount: number;
  paymentMethod: string;
  scheduledPaymentDate: string | Date;
  remark: string;
  approvalResult: string;
  approver: string;
  approverDepartment: string;
  approvalTime: string | Date;
  rejectionReason: string;
  invoiceTitle: string;
  taxId: string;
  taxType: string;
  bankAccount: string;
  bankName: string;
  submitter: string;
  submitTime: string | Date;
  updateTime: string | Date;
  processStatus: string;
  currentNode: string;
  currentOwner: string;
}
export interface ProductDataType {
  id?: React.Key;
  selectAction: any; // 操作列标识（无实际数据，仅用于渲染）
  productName: string;
  productCode: string;
  brand: string;
  specification: string;
  unit: string;
  availableStock: number;
  salesQuantity: number;
  unitPriceWithTax: number;
  vatRate: number;
  originalTotalWithTax: number;
  actualUnitPriceWithTax: number;
  actualTotalWithTax: number;
}